package com.shelpe.services.algorithm.repository.jpa;

import java.util.List;

import org.springframework.data.repository.PagingAndSortingRepository;

import com.shelpe.services.algorithm.entity.jpa.DevelopmentKeyword;
import com.shelpe.services.algorithm.entity.jpa.DevelopmentKeyword.DevelopmentKeywordPK;

public interface DevelopmentKeywordRepository extends PagingAndSortingRepository<DevelopmentKeyword, DevelopmentKeywordPK>{

	List<DevelopmentKeyword> deleteByPlanID(long planID);
	
	List<DevelopmentKeyword> findByPlanID(long planID);
	
	DevelopmentKeyword findTopByKeywordIDOrderByCreatedTimeDesc(long keywordID);
}
